import request from './index'

export const labReportApi = {
  upload(formData) {
    return request.post('/api/lab-reports/upload', formData, {
      headers: { 'Content-Type': 'multipart/form-data' }
    })
  },
  getReports(params) {
    return request.get('/api/lab-reports', { params })
  }
}